package com.itshidu.jiaowu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itshidu.jiaowu.entity.Violate;
import com.itshidu.jiaowu.util.Result;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author XiaZengming123
 * @since 2019-07-18
 */
public interface ViolateService extends IService<Violate> {

    Result save(String name,Integer deduct_marks,String reason);

    Result list(int page, int limit);

    Result EditViolate(Long id, String handler, String name, Integer deduct_marks, String reason);

    Result sorl(Integer page, Integer limit, String studentName);
}
